package com.df.happylearn.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by dingfeng on 2016/10/13.
 */
@DatabaseTable(tableName = "table_article")
public class Article {
    @DatabaseField(id = true, uniqueCombo = true, columnName = "articleId")
    private int id; //id
    @DatabaseField(columnName = "catid")
    private int cat_id; //cat_id
    @DatabaseField(columnName = "viewname")
    private String view_name; //view_name
    @DatabaseField(columnName = "title")
    private String title; // title
    @DatabaseField(columnName = "ctime")
    private String ctime; // time
    @DatabaseField(columnName = "thumbnail")
    private String thumbnail; // head
    @DatabaseField(columnName = "original")
    private String original; //article source

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCat_id() {
        return cat_id;
    }

    public void setCat_id(int cat_id) {
        this.cat_id = cat_id;
    }

    public String getView_name() {
        return view_name;
    }

    public void setView_name(String view_name) {
        this.view_name = view_name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getOriginal() {
        return original;
    }

    public void setOriginal(String original) {
        this.original = original;
    }

}
